<!DOCTYPE HTML>

<html lang="en">
<head>

<title>org.springframework.security.authentication (spring-security-docs 5.6.3 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="org.springframework.security.authentication (spring-security-docs 5.6.3 API)";
        }
    }
    catch(err) {
    }
//-->
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">

<div class="topNav"><a id="navbar.top">

</a>
<div class="skipNav"><a href="package-summary.html#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">

</a></div>

</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<main role="main">
<div class="header">
<h1 title="Package" class="title">Package&nbsp;org.springframework.security.authentication</h1>
</div>
<div class="contentContainer">
<section role="region"><a id="package.description">

</a>
<div class="block">Core classes and interfaces related to user authentication, which are used throughout
Spring Security.
<p>
Of key importance is the
<a href="AuthenticationManager.html" title="interface in org.springframework.security.authentication"><code>AuthenticationManager</code></a> and its default implementation
<a href="ProviderManager.html" title="class in org.springframework.security.authentication"><code>ProviderManager</code></a>,
which maintains a list
<a href="AuthenticationProvider.html" title="interface in org.springframework.security.authentication"><code>AuthenticationProvider</code></a>s to which it delegates authentication requests.</div>
</section>
<ul class="blockList">
<li class="blockList">
<table class="typeSummary">
<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Interface</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AuthenticationDetailsSource.html" title="interface in org.springframework.security.authentication">AuthenticationDetailsSource</a>&lt;C,&#8203;T&gt;</th>
<td class="colLast">
<div class="block">Provides a <a href="../core/Authentication.html#getDetails()"><code>Authentication.getDetails()</code></a> object
for a given web request.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AuthenticationEventPublisher.html" title="interface in org.springframework.security.authentication">AuthenticationEventPublisher</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AuthenticationManager.html" title="interface in org.springframework.security.authentication">AuthenticationManager</a></th>
<td class="colLast">
<div class="block">Processes an <a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> request.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AuthenticationManagerResolver.html" title="interface in org.springframework.security.authentication">AuthenticationManagerResolver</a>&lt;C&gt;</th>
<td class="colLast">
<div class="block">An interface for resolving an <a href="AuthenticationManager.html" title="interface in org.springframework.security.authentication"><code>AuthenticationManager</code></a> based on the provided
context</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AuthenticationProvider.html" title="interface in org.springframework.security.authentication">AuthenticationProvider</a></th>
<td class="colLast">
<div class="block">Indicates a class can process a specific
<a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> implementation.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AuthenticationTrustResolver.html" title="interface in org.springframework.security.authentication">AuthenticationTrustResolver</a></th>
<td class="colLast">
<div class="block">Evaluates <code>Authentication</code> tokens</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ReactiveAuthenticationManager.html" title="interface in org.springframework.security.authentication">ReactiveAuthenticationManager</a></th>
<td class="colLast">
<div class="block">Determines if the provided <a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> can be authenticated.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="ReactiveAuthenticationManagerResolver.html" title="interface in org.springframework.security.authentication">ReactiveAuthenticationManagerResolver</a>&lt;C&gt;</th>
<td class="colLast">
<div class="block">An interface for resolving a <a href="ReactiveAuthenticationManager.html" title="interface in org.springframework.security.authentication"><code>ReactiveAuthenticationManager</code></a> based on the
provided context</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AbstractAuthenticationToken.html" title="class in org.springframework.security.authentication">AbstractAuthenticationToken</a></th>
<td class="colLast">
<div class="block">Base class for <code>Authentication</code> objects.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AbstractUserDetailsReactiveAuthenticationManager.html" title="class in org.springframework.security.authentication">AbstractUserDetailsReactiveAuthenticationManager</a></th>
<td class="colLast">
<div class="block">A base <a href="ReactiveAuthenticationManager.html" title="interface in org.springframework.security.authentication"><code>ReactiveAuthenticationManager</code></a> that allows subclasses to override and
work with <a href="../core/userdetails/UserDetails.html" title="interface in org.springframework.security.core.userdetails"><code>UserDetails</code></a> objects.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AccountStatusUserDetailsChecker.html" title="class in org.springframework.security.authentication">AccountStatusUserDetailsChecker</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AnonymousAuthenticationProvider.html" title="class in org.springframework.security.authentication">AnonymousAuthenticationProvider</a></th>
<td class="colLast">
<div class="block">An <a href="AuthenticationProvider.html" title="interface in org.springframework.security.authentication"><code>AuthenticationProvider</code></a> implementation that validates
<a href="AnonymousAuthenticationToken.html" title="class in org.springframework.security.authentication"><code>AnonymousAuthenticationToken</code></a>s.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AnonymousAuthenticationToken.html" title="class in org.springframework.security.authentication">AnonymousAuthenticationToken</a></th>
<td class="colLast">
<div class="block">Represents an anonymous <code>Authentication</code>.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AuthenticationTrustResolverImpl.html" title="class in org.springframework.security.authentication">AuthenticationTrustResolverImpl</a></th>
<td class="colLast">
<div class="block">Basic implementation of <a href="AuthenticationTrustResolver.html" title="interface in org.springframework.security.authentication"><code>AuthenticationTrustResolver</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="CachingUserDetailsService.html" title="class in org.springframework.security.authentication">CachingUserDetailsService</a></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="DefaultAuthenticationEventPublisher.html" title="class in org.springframework.security.authentication">DefaultAuthenticationEventPublisher</a></th>
<td class="colLast">
<div class="block">The default strategy for publishing authentication events.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="DelegatingReactiveAuthenticationManager.html" title="class in org.springframework.security.authentication">DelegatingReactiveAuthenticationManager</a></th>
<td class="colLast">
<div class="block">A <a href="ReactiveAuthenticationManager.html" title="interface in org.springframework.security.authentication"><code>ReactiveAuthenticationManager</code></a> that delegates to other
<a href="ReactiveAuthenticationManager.html" title="interface in org.springframework.security.authentication"><code>ReactiveAuthenticationManager</code></a> instances using the result from the first non
empty result.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="ProviderManager.html" title="class in org.springframework.security.authentication">ProviderManager</a></th>
<td class="colLast">
<div class="block">Iterates an <a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> request through a list of
<a href="AuthenticationProvider.html" title="interface in org.springframework.security.authentication"><code>AuthenticationProvider</code></a>s.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ReactiveAuthenticationManagerAdapter.html" title="class in org.springframework.security.authentication">ReactiveAuthenticationManagerAdapter</a></th>
<td class="colLast">
<div class="block">Adapts an AuthenticationManager to the reactive APIs.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="RememberMeAuthenticationProvider.html" title="class in org.springframework.security.authentication">RememberMeAuthenticationProvider</a></th>
<td class="colLast">
<div class="block">An <a href="AuthenticationProvider.html" title="interface in org.springframework.security.authentication"><code>AuthenticationProvider</code></a> implementation that validates
<a href="RememberMeAuthenticationToken.html" title="class in org.springframework.security.authentication"><code>RememberMeAuthenticationToken</code></a>s.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="RememberMeAuthenticationToken.html" title="class in org.springframework.security.authentication">RememberMeAuthenticationToken</a></th>
<td class="colLast">
<div class="block">Represents a remembered <code>Authentication</code>.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="TestingAuthenticationProvider.html" title="class in org.springframework.security.authentication">TestingAuthenticationProvider</a></th>
<td class="colLast">
<div class="block">An <a href="AuthenticationProvider.html" title="interface in org.springframework.security.authentication"><code>AuthenticationProvider</code></a> implementation for the
<a href="TestingAuthenticationToken.html" title="class in org.springframework.security.authentication"><code>TestingAuthenticationToken</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="TestingAuthenticationToken.html" title="class in org.springframework.security.authentication">TestingAuthenticationToken</a></th>
<td class="colLast">
<div class="block">An <a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> implementation that is
designed for use whilst unit testing.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="UserDetailsRepositoryReactiveAuthenticationManager.html" title="class in org.springframework.security.authentication">UserDetailsRepositoryReactiveAuthenticationManager</a></th>
<td class="colLast">
<div class="block">A <a href="ReactiveAuthenticationManager.html" title="interface in org.springframework.security.authentication"><code>ReactiveAuthenticationManager</code></a> that uses a <a href="../core/userdetails/ReactiveUserDetailsService.html" title="interface in org.springframework.security.core.userdetails"><code>ReactiveUserDetailsService</code></a>
to validate the provided username and password.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="UsernamePasswordAuthenticationToken.html" title="class in org.springframework.security.authentication">UsernamePasswordAuthenticationToken</a></th>
<td class="colLast">
<div class="block">An <a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> implementation that is
designed for simple presentation of a username and password.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="typeSummary">
<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Exception</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AccountExpiredException.html" title="class in org.springframework.security.authentication">AccountExpiredException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request is rejected because the account has expired.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AccountStatusException.html" title="class in org.springframework.security.authentication">AccountStatusException</a></th>
<td class="colLast">
<div class="block">Base class for authentication exceptions which are caused by a particular user account
status (locked, disabled etc).</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="AuthenticationCredentialsNotFoundException.html" title="class in org.springframework.security.authentication">AuthenticationCredentialsNotFoundException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request is rejected because there is no
<a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a> object in the
<a href="../core/context/SecurityContext.html" title="interface in org.springframework.security.core.context"><code>SecurityContext</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="AuthenticationServiceException.html" title="class in org.springframework.security.authentication">AuthenticationServiceException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request could not be processed due to a system problem.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="BadCredentialsException.html" title="class in org.springframework.security.authentication">BadCredentialsException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request is rejected because the credentials are invalid.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="CredentialsExpiredException.html" title="class in org.springframework.security.authentication">CredentialsExpiredException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request is rejected because the account's credentials have
expired.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="DisabledException.html" title="class in org.springframework.security.authentication">DisabledException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request is rejected because the account is disabled.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="InsufficientAuthenticationException.html" title="class in org.springframework.security.authentication">InsufficientAuthenticationException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request is rejected because the credentials are not
sufficiently trusted.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="InternalAuthenticationServiceException.html" title="class in org.springframework.security.authentication">InternalAuthenticationServiceException</a></th>
<td class="colLast">
<div class="block">
Thrown if an authentication request could not be processed due to a system problem that
occurred internally.</div>
</td>
</tr>
<tr class="rowColor">
<th class="colFirst" scope="row"><a href="LockedException.html" title="class in org.springframework.security.authentication">LockedException</a></th>
<td class="colLast">
<div class="block">Thrown if an authentication request is rejected because the account is locked.</div>
</td>
</tr>
<tr class="altColor">
<th class="colFirst" scope="row"><a href="ProviderNotFoundException.html" title="class in org.springframework.security.authentication">ProviderNotFoundException</a></th>
<td class="colLast">
<div class="block">Thrown by <a href="ProviderManager.html" title="class in org.springframework.security.authentication"><code>ProviderManager</code></a> if no <a href="AuthenticationProvider.html" title="interface in org.springframework.security.authentication"><code>AuthenticationProvider</code></a> could be found
that supports the presented <a href="../core/Authentication.html" title="interface in org.springframework.security.core"><code>Authentication</code></a>
object.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
</main>
<footer role="contentinfo">
<nav role="navigation">

<div class="bottomNav"><a id="navbar.bottom">

</a>
<div class="skipNav"><a href="package-summary.html#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">

</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.bottom">

</a></div>

</nav>
</footer>
<script>if (window.parent == window) {(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-2728886-23', 'auto', {'siteSpeedSampleRate': 100});ga('send', 'pageview');}</script><script defer src="https://static.cloudflareinsights.com/beacon.min.js/v652eace1692a40cfa3763df669d7439c1639079717194" integrity="sha512-Gi7xpJR8tSkrpF7aordPZQlW2DLtzUlZcumS8dMQjwDHEnw9I7ZLyiOj/6tZStRBGtGgN6ceN6cMH8z7etPGlw==" data-cf-beacon='{"rayId":"7040bbd8ae4c980c","token":"bffcb8a918ae4755926f76178bfbd26b","version":"2021.12.0","si":100}' crossorigin="anonymous"></script>
</body>
</html>
